home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 2
/
SPACE - Library 2 - Volume 1.iso
/
apps
/
131
/
applic
/
phone.doc
< prev
next >
Wrap
Text File
|
1987-04-17
|
2KB
|
49 lines
This program was done for a C programming class at BCC. The idea came from
Jerry Houston, the instructor. This program is designed to be a simple
phone directory that can hold up to 100 names in it. Instead of going into
a very large database and screwing around to add a phone number to a directory,
all you need to do is either type PHONE or double click the phone.ttp icon.
The below examples will be using a command shell. If you are double clicking
the icon, just remove PHONE from the examples.
To add a name and phone number type :
>PHONE + LASTNAME FIRSTNAME PHONENUMBER
To delete an entry type :
>PHONE - LASTNAME FIRSTNAME
To change anything in a certain entry type :
>PHONE ? LASTNAME FIRSTNAME
To list a particular entry type :
>PHONE LASTNAME FIRSTNAME
To list everybody with a certain last name type :
>PHONE LASTNAME
This program is public domain and may be circulated freely. I am enclosing the
source code along with it so that people may alter this program to their needs.
Please do not circulate any altered forms of this program. Any comments may
be sent by mail to :
Matt Leber
8851 SE 37th
Mercer Island, WA 98040
Or to either GEnie or CompuServe via :
GEnie : M.LEBER
CompuServe : 73657,3646
This program creates and maintains a file called "PHONE.DAT" It must be in
the same directory that PHONE.TTP is in order for the program to work
correctly. I hope that this program proves useful. Enjoy!
Matt Leber